package com.fulihui.information.core.oss;

import org.near.toolkit.model.BaseEnum;

/**
 * 图片文件头类型
 * Created by LeeSon on 2016/12/26 0026.
 */
public enum EImgFileHeaderType implements BaseEnum {
    JPEG("FFD8FF", "jpeg"), PNG("89504E47", "png"), GIF("47494638", "gif");

    String code;
    String desc;

    EImgFileHeaderType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}